﻿#ifndef IMAGETHREAD_H
#define IMAGETHREAD_H

#include <QThread>

namespace Qly
{
class ImageThread : public QThread
{
public:
    ImageThread(class CameraTUCAM_p * pCamera);
    void start();
    void stop();
private:
    void run() Q_DECL_OVERRIDE;
private:
    CameraTUCAM_p * m_pCamera = nullptr;
    bool m_isLive = false;
};

}

#endif // IMAGETHREAD_H
